package me.gacl.maven.controller;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 * 
* @ClassName: Application  
* @Description: Spring MVC快速入门教程  
* @author ZhengZengLiang  
* @date 2017年9月4日  
*
 */
@SpringBootApplication
@RestController
public class Application {
	
	 @RequestMapping("/")
    public String greeting() {
        return "Hello World!";
    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
